package com.ruoyi.company.dynamic.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司动态管理对象 com_dynamic
 * 
 * @author baike
 * @date 2020-12-21
 */
public class ComDynamic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 动态文章id */
    private String dynamicId;

    /** 动态标题 */
    @Excel(name = "动态标题")
    private String dynamicTitle;

    /** 发布用户 */
    @Excel(name = "发布用户")
    private String createUser;

    /** 发布时间 */
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 动态文章状态 */
    @Excel(name = "动态文章状态")
    private String status;

    /** 动态内容 */
    private String dynamicContent;

    
    public String getDynamicId() {
		return dynamicId;
	}

	public void setDynamicId(String dynamicId) {
		this.dynamicId = dynamicId;
	}

	public void setDynamicTitle(String dynamicTitle) 
    {
        this.dynamicTitle = dynamicTitle;
    }

    public String getDynamicTitle() 
    {
        return dynamicTitle;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDynamicContent(String dynamicContent) 
    {
        this.dynamicContent = dynamicContent;
    }

    public String getDynamicContent() 
    {
        return dynamicContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dynamicId", getDynamicId())
            .append("dynamicTitle", getDynamicTitle())
            .append("createUser", getCreateUser())
            .append("releaseTime", getReleaseTime())
            .append("status", getStatus())
            .append("dynamicContent", getDynamicContent())
            .toString();
    }
}
